package com.ktgj.other.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ktgj.other.mapper.RcOrderTrackingMapper;
import com.ktgj.other.domain.RcOrderTracking;
import com.ktgj.other.service.IRcOrderTrackingService;

/**
 * 专车订单信息跟踪Service业务层处理
 * 
 * @author ruoyi
 * @date 2022-07-27
 */
@Service
public class RcOrderTrackingServiceImpl implements IRcOrderTrackingService 
{
    @Autowired
    private RcOrderTrackingMapper rcOrderTrackingMapper;

    /**
     * 查询专车订单信息跟踪
     * 
     * @param rcordertrackingid 专车订单信息跟踪ID
     * @return 专车订单信息跟踪
     */
    @Override
    public RcOrderTracking selectRcOrderTrackingById(Long rcordertrackingid)
    {
        return rcOrderTrackingMapper.selectRcOrderTrackingById(rcordertrackingid);
    }

    /**
     * 查询专车订单信息跟踪列表
     * 
     * @param rcOrderTracking 专车订单信息跟踪
     * @return 专车订单信息跟踪
     */
    @Override
    public List<RcOrderTracking> selectRcOrderTrackingList(RcOrderTracking rcOrderTracking)
    {
        return rcOrderTrackingMapper.selectRcOrderTrackingList(rcOrderTracking);
    }

    /**
     * 新增专车订单信息跟踪
     * 
     * @param rcOrderTracking 专车订单信息跟踪
     * @return 结果
     */
    @Override
    public int insertRcOrderTracking(RcOrderTracking rcOrderTracking)
    {
        return rcOrderTrackingMapper.insertRcOrderTracking(rcOrderTracking);
    }

    /**
     * 修改专车订单信息跟踪
     * 
     * @param rcOrderTracking 专车订单信息跟踪
     * @return 结果
     */
    @Override
    public int updateRcOrderTracking(RcOrderTracking rcOrderTracking)
    {
        return rcOrderTrackingMapper.updateRcOrderTracking(rcOrderTracking);
    }

    /**
     * 批量删除专车订单信息跟踪
     * 
     * @param rcordertrackingids 需要删除的专车订单信息跟踪ID
     * @return 结果
     */
    @Override
    public int deleteRcOrderTrackingByIds(Long[] rcordertrackingids)
    {
        return rcOrderTrackingMapper.deleteRcOrderTrackingByIds(rcordertrackingids);
    }

    /**
     * 删除专车订单信息跟踪信息
     * 
     * @param rcordertrackingid 专车订单信息跟踪ID
     * @return 结果
     */
    @Override
    public int deleteRcOrderTrackingById(Long rcordertrackingid)
    {
        return rcOrderTrackingMapper.deleteRcOrderTrackingById(rcordertrackingid);
    }
}
